package com.ash.dao.domain;

/**
 * @encoding : UTF-8
 * @Time : 2020/12/9 14:48
 * @Author : Chen Chao
 * @File : TestLogin.com.ash.dao.domain.User.java
 * @Software : IntelliJ IDEA
 * @since : 1.8
 */
public class User {
    private Integer id;
    private String uname;
    private Integer password;

    public User() {
    }

    public User(Integer id, String uname, Integer password) {
        this.id = id;
        this.uname = uname;
        this.password = password;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUname() {
        return uname;
    }

    public void setUname(String uname) {
        this.uname = uname;
    }

    public Integer getPassword() {
        return password;
    }

    public void setPassword(Integer password) {
        this.password = password;
    }

    @Override
    public String toString() {
        return "User{" +
                "id=" + id +
                ", uname='" + uname + '\'' +
                ", password=" + password +
                '}';
    }
}
